package xcmg.device.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import xcmg.device.dao.entity.company.CompanyApplyDO;

import java.util.List;

/**
 * Created by LiChangjiang on 2018/2/8 0008.
 */
@Mapper
public interface CompanyApplyMapper
{
    CompanyApplyDO selectApplyRecord (CompanyApplyDO companyApplyDO);

    int update (CompanyApplyDO companyApplyDO);

    List<CompanyApplyDO> list(CompanyApplyDO companyApplyDO);

//    int insert(CompanyApplyDO companyApplyDO);

    int insertWithPK(CompanyApplyDO companyApplyDO);

    CompanyApplyDO item(Long id);

    Integer applyCount();
}
